import React from 'react';
import ReactDom from 'react-dom/client';

import App from './App.js';
import { Provider } from 'react-redux';
import store from './store/index.js';
// console.log('store----->', store);

// 18版本以上新出的挂载方法
const root = ReactDom.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <App></App>
  </Provider>
);
